/*
 package com.friends.utils.config.injector;

 import com.baomidou.mybatisplus.core.injector.AbstractMethod;
 import com.baomidou.mybatisplus.core.injector.DefaultSqlInjector;
 import com.baomidou.mybatisplus.core.metadata.TableInfo;
 import com.baomidou.mybatisplus.extension.injector.methods.InsertBatchSomeColumn;

 import java.util.List;

*/
/**
 * 批量处理sql 拦截器
 * 且在连接时，需添加批量写入参数，完整mysql连接如下【jdbc:mysql://127.0.0.1:3306/demo?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false&autoReconnect=true&rewriteBatchedStatements=true
 * @author llian
 * @date 2023/03/17
 *//*

public class EasySqlInjector extends DefaultSqlInjector {
     @Override
     public List<AbstractMethod> getMethodList(Class<?> mapperClass, TableInfo tableInfo) {
         List<AbstractMethod> methodList=super.getMethodList(mapperClass, tableInfo);
         methodList.add(new InsertBatchSomeColumn());//添加批量插入方法
         return methodList;
     }
 }*/
